<?php
/**
 * @package		Joomla.Site
 * @subpackage	mod_articles_category
 * @copyright	Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;
?>



<div class="one ppb_portfolio_wrapper">
	<div class="ppb_title"><h4><?php echo $module->title ?></h4></div>
	
	
	<br class="clear"/>
	

	<?php foreach ($list as $item) : ?>
		<?php
			$images = json_decode($item->images);
			$metadata = json_decode($item->metadata);
			//var_dump($item);
		?>
		
		<div class="one_fourth">
			<div id="portfolio_img_<?php echo $item->id ?>" class="portfolio200_shadow" data-rel="portfolio_desc_<?php echo $item->id ?>">
				<a href="<?php echo $item->link; ?>">
					<img src="<?php echo $images->image_intro ?>" alt="" class="portfolio_img"/>
					<div class="portfolio200_overlay">
						<div class="overlay_icon_circle">
							<img src="<?php echo JURI::base() ?>/templates/trista/images/icon_link.png" alt="" class=""/>
						</div>
					</div>
				</a>
			</div>
			
					
			<div id="portfolio_desc_<?php echo $item->id ?>" data-rel="portfolio_img_<?php echo $item->id ?>" class="portfolio_desc portfolio_desc_200">
				<h6 class="portfolio_header"><?php echo $item->title; ?></h6>
				<?php echo $metadata->author ?>
			</div>
		</div>
	<?php endforeach; ?>
	
	
</div>

